home *** CD-ROM | disk | FTP | other *** search
/ Champak 40 / Vol 40.iso / games / tripong.swf / scripts / frame_2 / DoAction.as
Encoding:
Text File  |  2007-04-23  |  888 b   |  39 lines

  1. _root.bg.bgcolor("0x000066");
  2. if(_root.lang == undefined)
  3. {
  4.    _root.lang = 0;
  5. }
  6. stop();
  7. if(_root.lang == 0)
  8. {
  9.    if(_root.tex1 == "-1-")
  10.    {
  11.       _root.tex = "You lost!";
  12.    }
  13.    else if(_root.tex1 == "-2-")
  14.    {
  15.       _root.tex = "You won!";
  16.    }
  17.    else
  18.    {
  19.       _root.tex = "";
  20.    }
  21.    tex1 = "You are the left Line!\n\nThis game has basic Ping Pong rules, and advanced physics.\n\nControls: mouse click and mouse y-position.\n\nPlay a game about      Points.";
  22. }
  23. else
  24. {
  25.    if(_root.tex1 == "-1-")
  26.    {
  27.       _root.tex = "Der Computer hat gewonnen!";
  28.    }
  29.    else if(_root.tex1 == "-2-")
  30.    {
  31.       _root.tex = "Du hast gewonnen!";
  32.    }
  33.    else
  34.    {
  35.       _root.tex = "";
  36.    }
  37.    tex1 = "Du bist die link Linie!\n\nDies ist ein ganz normales Ping Pong Spiel, mit dynamischer Physik\n\nSteuerung: Maus Klick und Y Position.\n\nZielpunkte:";
  38. }
  39.